package io.renren.modules.knowledge.entity.relationship;

import io.renren.modules.knowledge.entity.node.course;
import io.renren.modules.knowledge.entity.node.occupation;
import org.neo4j.ogm.annotation.EndNode;
import org.neo4j.ogm.annotation.Relationship;
import org.neo4j.ogm.annotation.RelationshipEntity;
import org.neo4j.ogm.annotation.StartNode;

@RelationshipEntity(type = "master")
public class oc  {
    @StartNode
    private occupation occupation;

    @EndNode
    private course course;

    public io.renren.modules.knowledge.entity.node.occupation getOccupation() {
        return occupation;
    }

    public void setOccupation(io.renren.modules.knowledge.entity.node.occupation occupation) {
        this.occupation = occupation;
    }

    public io.renren.modules.knowledge.entity.node.course getCourse() {
        return course;
    }

    public void setCourse(io.renren.modules.knowledge.entity.node.course course) {
        this.course = course;
    }
}
